package common

var(
	EventPrefix = []byte("event-")
	CursorKey = []byte("cursor")
)

const(
	DB_PATH = "./data"
	EVENT_TYPE = "number"
)

const(
	THRESHOLD = 5
)

type ServerEvent struct {
	EType     string
	Payload   []byte
	Timestamp string
}

type ClientEvent struct {
	EType    string
	Payload []byte
}
